define({ "api": [
  {
    "type": "post",
    "url": "/sa/banlence",
    "title": "查询账户信息",
    "description": "<p>查询账户信息</p>",
    "name": "banlence",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>查询结果JSON对象</p>"
          },
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "value.assets",
            "description": "<p>总资产</p>"
          },
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "value.available",
            "description": "<p>可用金额.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"查询成功\",\n  \"value\": {\n      \"assets\":123232.00,\n      \"available\":123322.00\n  }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/buy",
    "title": "买入",
    "description": "<p>买入指定股票接口</p>",
    "name": "buy",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>股票代码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "price",
            "description": "<p>买入价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "amount",
            "description": "<p>买入数量（必需是100的倍数，交易所规定）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\",\n  \"code\": \"0000001\",\n  \"price\": \"16.2\",\n  \"amount\": \"100\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>股票合同编号，（当系统操作无响应时，代码为空，也可能成功下单，请注意。）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"下单成功\",\n  \"value\": \"10450\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/sell",
    "title": "卖出",
    "description": "<p>卖出指定股票接口</p>",
    "name": "buy",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>股票代码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "price",
            "description": "<p>卖出价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "amount",
            "description": "<p>卖出数量（必需是100的倍数，交易所规定）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\",\n  \"code\": \"0000001\",\n  \"price\": \"16.2\",\n  \"amount\": \"100\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>股票合同编号，（当系统操作无响应时，代码为空，也可能成功下单，请注意。）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"下单成功\",\n  \"value\": \"10450\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/buyout",
    "title": "融资买入",
    "description": "<p>融资买入指定股票接口</p>",
    "name": "buyout",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>股票代码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "price",
            "description": "<p>买入价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "amount",
            "description": "<p>买入数量（必需是100的倍数，交易所规定）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\",\n  \"code\": \"0000001\",\n  \"price\": \"16.2\",\n  \"amount\": \"100\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>股票合同编号，（当系统操作无响应时，代码为空，也可能成功下单，请注意。）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"下单成功\",\n  \"value\": \"10450\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/canCancel",
    "title": "可撤单列表",
    "description": "<p>可撤单列表</p>",
    "name": "canCancel",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>查询结果JSON数组</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.code",
            "description": "<p>证券代码</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.name",
            "description": "<p>证券名称</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.side",
            "description": "<p>操作</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.orderTime",
            "description": "<p>委托时间</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.orderPrice",
            "description": "<p>委托价格</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.orderNumber",
            "description": "<p>委托数量</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.no",
            "description": "<p>合同编号</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.remark",
            "description": "<p>备注</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"查询成功\",\n  \"value\": [{\n      \"code\":\"002443\",\n      \"name\":\"金洲管道\",\n      \"orderTime\":\"2018-01-01 10:00:00',\n      \"side\":\"buy\",\n      \"orderNumber\":100,\n      \"orderPrice\":7.01,\n      \"no\":\"10323\",\n      \"remark\":\"\"\n  }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/cancel",
    "title": "撤单",
    "description": "<p>根据指定合同编号撤单</p>",
    "name": "cancel",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "no",
            "description": "<p>合同编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\",\n  \"no\":\"1023\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>NULL</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"撤单成功\",\n  \"value\": NULL\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/deal",
    "title": "查询今日成交",
    "description": "<p>查询今日成交</p>",
    "name": "deal",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>查询结果JSON数组</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.code",
            "description": "<p>证券代码</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.name",
            "description": "<p>证券名称</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.time",
            "description": "<p>成交时间</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.side",
            "description": "<p>操作</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.filledAmount",
            "description": "<p>成交数量</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.filledPrice",
            "description": "<p>成交均价</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.executedValue",
            "description": "<p>成交金额</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.ordersBillId",
            "description": "<p>合同编号</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"查询成功\",\n  \"value\": [{\n      \"code\":\"002443\",\n      \"name\":\"金洲管道\",\n      \"time\":\"2018-01-01 10:00:00',\n      \"side\":\"buy\",\n      \"filledAmount\":100,\n      \"filledPrice\":7.01,\n      \"executedValue\":701.00\n      \"ordersBillId\":\"1323\"\n  }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/marginSell",
    "title": "融券卖出",
    "description": "<p>卖出指定股票接口</p>",
    "name": "marginSell",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳+股票代码+卖出价格+卖出数量)</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>股票代码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "price",
            "description": "<p>卖出价格</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "amount",
            "description": "<p>卖出数量（必需是100的倍数，交易所规定）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\",\n  \"code\": \"0000001\",\n  \"price\": \"16.2\",\n  \"amount\": \"100\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>卖出股票合同编号，（当系统操作无响应时，代码为空，也可能成功下单，请注意。）</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"下单成功\",\n  \"value\": \"10450\"\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/postions",
    "title": "查询持仓信息",
    "description": "<p>查询持仓信息</p>",
    "name": "postions",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>查询结果JSON数组</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.code",
            "description": "<p>证券代码</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.name",
            "description": "<p>证券名称</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.available",
            "description": "<p>可卖出数量</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.frozen",
            "description": "<p>冻结数量</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.balance",
            "description": "<p>股票余额</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.markets",
            "description": "<p>市值</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.cost",
            "description": "<p>成本价</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.priceDecimal",
            "description": "<p>市价</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.profitValue",
            "description": "<p>盈亏</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.profit",
            "description": "<p>盈亏比(%)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"查询成功\",\n  \"value\": [{\n      \"code\":\"002443\",\n      \"name\":\"金洲管道\",\n      \"available\":7000,\n      \"frozen\":0,\n      \"balance\":7000,\n      \"markets\":48230.00\n      \"cost\":6.890,\n      \"priceDecimal\":7.390,\n      \"markets\":3525.95,\n      \"profitValue\":123322.00,\n      \"profit\":6.81\n  }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  },
  {
    "type": "post",
    "url": "/sa/todayEntrust",
    "title": "查询今日委托",
    "description": "<p>查询今日委托</p>",
    "name": "todayEntrust",
    "group": "StockAccount",
    "version": "0.0.1",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>股票帐户ID</p>"
          },
          {
            "group": "Parameter",
            "type": "Long",
            "optional": false,
            "field": "timestramp",
            "description": "<p>当前时间戳（秒为单位）</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "token",
            "description": "<p>加密后的字符串，值为：MD5(股票帐户ID+KEY+当前时间戳)</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "请求参数例子 JSON格式:",
          "content": "{\n  \"id\": \"1030\",\n  \"timestramp\": \"1570607603\",\n  \"token\": \"934b535800b1cba8f96a5d72f72f1611\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "结果": [
          {
            "group": "结果",
            "type": "Number",
            "optional": false,
            "field": "state",
            "description": "<p>状态值1为查询成功 2为查询失败</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "message",
            "description": "<p>状态说明</p>"
          },
          {
            "group": "结果",
            "type": "Object",
            "optional": false,
            "field": "value",
            "description": "<p>查询结果JSON数组</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.code",
            "description": "<p>证券代码</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.name",
            "description": "<p>证券名称</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.side",
            "description": "<p>操作</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.orderTime",
            "description": "<p>委托时间</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.orderPrice",
            "description": "<p>委托价格</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.orderNumber",
            "description": "<p>委托数量</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.dealPrice",
            "description": "<p>成交均价</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.dealNumber",
            "description": "<p>成交数量</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.no",
            "description": "<p>合同编号</p>"
          },
          {
            "group": "结果",
            "type": "String",
            "optional": false,
            "field": "value.remark",
            "description": "<p>备注</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "返回结果例子 JSON格式:",
          "content": "{\n  \"state\": \"1\",\n  \"message\": \"查询成功\",\n  \"value\": [{\n      \"code\":\"002443\",\n      \"name\":\"金洲管道\",\n      \"orderTime\":\"2018-01-01 10:00:00',\n      \"side\":\"buy\",\n      \"orderNumber\":100,\n      \"orderPrice\":7.01,\n      \"dealPrice\":0,\n      \"dealNumber\":0,\n      \"no\":\"10323\",\n      \"remark\":\"\"\n  }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "src/main/java/com/dzd/cloud/microapp/api/StockAccountController.java",
    "groupTitle": "StockAccount"
  }
] });
